package com.xixi.demo02.model;

import java.util.Date;

public class Student {
    private int cid;
private String s_name;
private String sex;
private Date birthday;
private String email;
private String comments;

    public Student() {
    }

    public Student(int cid, String s_name, String sex, Date birthday, String email, String comments) {
        this.cid = cid;
        this.s_name = s_name;
        this.sex = sex;
        this.birthday = birthday;
        this.email = email;
        this.comments = comments;
    }

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }

    public String getS_name() {
        return s_name;
    }

    public void setS_name(String s_name) {
        this.s_name = s_name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }


    @Override
    public String toString() {
        return "Student{" +
                "cid=" + cid +
                ", s_name='" + s_name + '\'' +
                ", sex='" + sex + '\'' +
                ", birthday=" + birthday +
                ", email='" + email + '\'' +
                ", comments='" + comments + '\'' +
                '}';
    }
}
